Skip to content

fix: ignore mdx-like text in federated docs - #33

Open
lizard-boy wants to merge 1 commit into
masterfrom
fix/federated-docs
Open

fix: ignore mdx-like text in federated docs#33
lizard-boy wants to merge 1 commit into
masterfrom
fix/federated-docs

Conversation

@lizard-boy

Copy link
Copy Markdown

Docs build is breaking because of MDX-like text in federated docs, which shouldn't have any MDX in the first place (they use mkdocs-compatible Markdown). Alter the syntax tree to ignore these tags and display them as plain text, e.g., Nullable<T> should be displayed literally.

Also fixes the redundant header removal to make it more robust (syntax-tree based instead of regex-based.)

Docs build is breaking because of MDX-like text in federated docs, which
shouldn't have any MDX in the first place (they use mkdocs-compatible
Markdown). Alter the syntax tree to ignore these tags and display them
as plain text, e.g., `Nullable<T>` should be displayed literally.

Also fixes the redundant header removal to make it more robust
(syntax-tree based instead of regex-based.)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants